package tile;

import java.util.ArrayList;

public class Dragon extends Tile {
	
	public enum DRAGON{
		RED,
		GREEN,
		WHITE;
	}

	public Dragon(Object o) throws Exception {
		super(o);
	}
	
	public Dragon(Object o, SUIT s) {
		super(o,s);
	}

	public Object getValue() {
		return value;
	}

	public static boolean isValid(Object o) {
		return o instanceof DRAGON;
	}

	public static ArrayList<Object> getValidValues() {
		ArrayList<Object> arr = new ArrayList<Object>(3);
		for(DRAGON d:DRAGON.values()) {
			arr.add(d);
		}
		
		return arr;
	}

	@Override
	public String print() {
		return value.toString()+" Dragon";
	}

	public Tile clone() {
		Tile t = new Dragon(value,suit);
		t.status = status;
		return t;
	}
	
}
